﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CsplProjectConsole
{
    class ClassA : ClassAInterface
    {
        public ClassA(int param) {
            MyProperty = param;
        }

        public int fieldA;
        public int PropertyA
        {
            get;
            set;
        }

        private int myVar;

        public int MyProperty
        {
            get { return myVar; }
            set 
            { 
                myVar = value;
            }
        }

        public void ShowResult()
        {
            Console.WriteLine("Property : {0}", MyProperty);
        }


        public int InterfaceMethod(int x, int y)
        {
            return x * y;
        }
    }
}
